package com.eastfair.tag.dto;

import com.eastfair.tag.enumeration.TagResourceTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 
 * </p>
 *
 * @author zjn
 * @since 2022-03-11
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "TagResourcePageQuery", description = "")
public class TagResourcePageQuery implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 资源类型
     */
    @ApiModelProperty(value = "资源类型")
    private TagResourceTypeEnum resourceType;
    /**
     * 资源id
     */
    @ApiModelProperty(value = "资源id")
    private Long resourceId;
    /**
     * 标签id
     */
    @ApiModelProperty(value = "标签id")
    private Long tagId;
    /**
     * 是否启用：1是；0否
     */
    @ApiModelProperty(value = "是否启用：1是；0否")
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    private Integer isDeleted;

}
